#include <iostream>
using namespace std;
inline int max (int,int,int);
int main ()
{
	int i = 10,j = 20,k = 30,m;
	m=max(i,j,k);
	cout<<"max = "<<m<<endl;
	return 0;
	
} 
inline int max(int a,int b,int c)
{
	if(a>=b) b =a;
	if(b>c) return b;
	else return c;
}
